<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .box{
            width: 500px;
            height: 400px;
            background-color: white;
            margin: auto;
            overflow: hidden;
           
                
        }
        .s1{
            display: inline-block;
            width: 40px;
            height: 40px;
            line-height: 40px;
            text-align: center;   
            background-color: black;
            margin: 3px;
            color: white;
            shape-outside: margin-box;
            border-radius: 50%;
            
        }
        .p1{
            display: inline-block;
            width: 40px;
            
            padding: 0;
            margin: 0;
            margin: 3px;
            height: 40px;
            line-height: 40px;
            text-align: center;
            background-color: blue;
            color: white;
            shape-outside: margin-box;
            border-radius: 50%;
        }
        .img1{
            margin: 0;
            padding: 0;
            float: left;
        }
    </style>
</head>
<body>
    <h1 style="text-align: center;">浮动一</h1>
    <div class="box">
       <span class="s1">前</span>
       <span class="s1">前</span>
       <span class="s1">前</span>
       <span class="s1">前</span>
       <span class="s1">前</span>
       <span class="s1">前</span>
       <span class="s1">前</span>
       <span class="s1">前</span>
       <span class="s1">前</span>
       <span class="s1">前</span>
       <span class="s1">前</span>
       <span class="s1">前</span>
       <span class="s1">前</span>
       <span class="s1">前</span>
       <span class="s1">前</span>
       <span class="s1">前</span>
       <span class="s1">前</span>
       <span class="s1">前</span>
       
        <p class="p1">后</p>
        <p class="p1">后</p>
        <p class="p1">后</p>
        <p class="p1">后</p>
        <p class="p1">后</p>
        <p class="p1">后</p>
        <p class="p1">后</p>
        <p class="p1">后</p>
        <p class="p1">后</p>
        <p class="p1">后</p>
        <p class="p1">后</p>
        <p class="p1">后</p>
        <img src="./image/紫色角星.png" alt="" class="img1" width="100px">
        <p class="p1">后</p>
        <p class="p1">后</p>
        <p class="p1">后</p>
        <p class="p1">后</p>
        <p class="p1">后</p>
        <p class="p1">后</p>
        <p class="p1">后</p>
        <p class="p1">后</p>
        <p class="p1">后</p>
        <p class="p1">后</p>
        <p class="p1">后</p>
        <p class="p1">后</p>
        <p class="p1">后</p>
        <p class="p1">后</p>
        <p class="p1">后</p>
        <p class="p1">后</p>
        <p class="p1">后</p>
        <p class="p1">后</p>
        <p class="p1">后</p>
        <p class="p1">后</p>
        <p class="p1">后</p>
        <p class="p1">后</p>
        <p class="p1">后</p>
        <p class="p1">后</p>
        
        <p class="p1">后</p>
        <p class="p1">后</p>
        <p class="p1">后</p>
        
    </div>
</body>
</html>